package com.dinnerwithfriends.client.dinner.accept;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Button;

/** 
 * 
 * 
 * @
 * @UserInterface 
 */

public class ButtonSendPayment extends Button {

	public ButtonSendPayment(final String user) {

		this.setText("Click here to pay");

		this.addClickHandler(new ClickHandler() {

			@Override
			public void onClick(ClickEvent event) {

				new PayDinner(user);
			}
		});
	}

}
